ioemu: Save PCI device INTx line states.
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 24 Apr 2008 09:14:43 +0000 (10:14 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 24 Apr 2008 09:14:43 +0000 (10:14 +0100)
commit88bc5163bc31a31916c18dc50af09c17b9fe7996
tree210a2680cb28df9627553b0186dce50b950b40d7
parent0501e7a2abd71cba5ef985a8b7aad25e8c21ccc6
ioemu: Save PCI device INTx line states.

Otherwise, ioemu can be out of sync with the hypervisor after
restoring guest state, if INTx lines were asserted when the state was
saved. This prevents ioemu from setting the line to zero in Xen
(because it thinks the line is already zero). This can allow th eguest
to enter an endless IRQ loop and hang.

Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/ioemu/hw/pci.c